package com.archstoday.view;

import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.util.AttributeSet;
import android.widget.LinearLayout;

/**
 * 自动换行layout
 * Created by Android on 2017/5/11 0011.
 */

public class CanvasLineLayout extends LinearLayout {


    public CanvasLineLayout(Context context) {
        super(context);
    }

    public CanvasLineLayout(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    public CanvasLineLayout(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
    }

    @Override
    public void dispatchDraw(Canvas canvas) {
//
//        Bitmap bitmap = Bitmap.createBitmap(800, 600, null);
//        Canvas canvas1 = new Canvas(bitmap);

        super.dispatchDraw(canvas);
    }



}
